package com.pet.shop.mappers.room;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.room.Hotel;
import com.pet.shop.entity.room.HotelTime;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface HotelMapper {

    int delete(Long id);

    int insert(Hotel record);

    Hotel get(Long id);

    int update(Hotel record);

    Page<Hotel> queryPage(PageDto<Hotel> page);


}